<ul class="pagination">
    <% _.times(pageCount, function(n) { %>
    <li class="
        <% if (n==actualPage) { %>active<% } %>
        "><a href="#diaries/<%= n %>"><%= (n+1) %></a></li>
    <%}); %>
</ul>
